//
//  TrainFinderConst.m
//  TrainFinder3
//
//  Created by 饶首建 on 17/2/28.
//  Copyright © 2017年 com.ikamobile.trainfinder3. All rights reserved.
//

#import "AppConst.h"

NSString * const TABLE_ID = @"1234";

//NSString * const BASE_URL = @"http://ipland.natapp1.cc/api";
//NSString * const BASE_SOCKETIO_URL = @"http://192.168.1.148:3000";
//NSString * const WECHAT_QRCODE_URL = @"http://ipland.natapp1.cc";


NSString * const BASE_URL = @"http://app.ikamobile.cn:3000/api";
NSString * const BASE_SOCKETIO_URL = @"http://app.ikamobile.cn:3000";
NSString * const WECHAT_QRCODE_URL = @"http://majiang.ikamobile.cn";

NSString * const API_GET_MATCH = @"Matches/findOne";
NSString * const API_NEW_MATCH = @"Matches";
NSString * const API_GET_PATTERN = @"Metadata/patterns";
NSString * const API_GET_RULE = @"Metadata/rules";
NSString * const API_POST_JOIN_MATCH = @"Matches/join";
NSString * const API_POST_USERJOIN_MATCH = @"Matches/userJoin";

#pragma mark - notification
NSString * const NOTIFICATION_CONNECTED_CALLBACK = @"kNotificationConnectedCallback";
NSString * const NOTIFICATION_ERROR_CALLBACK = @"kNotificationErrorCallback";
NSString * const NOTIFICATION_DISCONNECTED_CALLBACK = @"kNotificationDisconnectedCallback";
NSString * const NOTIFICATION_NEWGAME_CALLBACK = @"kNotificationNewgameCallback";
NSString * const NOTIFICATION_ACTION_CALLBACK = @"kNotificationActionCallback";
NSString * const NOTIFICATION_MATCH_CALLBACK = @"kNotificationMatchCallback";
NSString * const NOTIFICATION_ME_CALLBACK = @"kNotificationMeCallback";
NSString * const NOTIFICATION_MATCH_LEAVE_CALLBACK = @"kNotificationMatchLeaveCallback";
NSString * const NOTIFICATION_MATCH_BACK_CALLBACK = @"kNotificationMatchBackCallback";
NSString * const NOTIFICATION_MATCH_WAIT_CALLBACK = @"kNotificationMatchWaitCallback";
NSString * const NOTIFICATION_MATCH_RECONNECT_CALLBACK = @"kNotificationMatchReconnectCallback";
NSString * const NOTIFICATION_MATCH_CHANGE_SEAT_CALLBACK = @"kNotificationMatchChangeSeatCallback";

NSString * const NSUSERDEFAULTS_KEY_SITPOSITION = @"kUserDefaultsSitPosition";






